*{
    box-sizing: border-box;
}
.yhj_header{
    // height: 50px;
    display:flex;
    padding: 5px;
    position:relative;
    background:red;
    span:first-of-type{
        width: 50px;
        height: 50px;
        position:absolute;
        display: block;
        left:5px;
        top:5px;
        font-size: 25px;
        text-align: center;
        line-height: 50px;
    }
    span:nth-of-type(2n){
        flex:1;
        margin-left: 50px;
        margin-right:50px;
        text-align: center;
        line-height: 50px;
        font-size: 16px;
    }
    span:last-of-type{
        width: 50px;
        height: 50px;
        position:absolute;
        display: block;
        right:5px;
        top:5px;
        background: url('../images/header_app.png') no-repeat;
        background-size: contain;
    }
}
.yh-product{
  
    ul{
        // padding: 0 5px;
        display: flex;
        flex-wrap: wrap;
        padding-left: 2%;
        padding-top: 5px;
        li{
            width: 33.33%;
            height: 100%;
            float: left;
           box-sizing: border-box;
            a{
                width: 95%;
                height: 100%;
                display: block;
                text-align: center;
                  border: 1px solid gray;
                img{
                    width: 60%;
                    display: inline-block;
                    margin-top: 6px;
                }
                p{
                    font-size: 16px;
                }
            }
            
        }
        li:last-of-type{
            margin-top: 5px;
        }
    }
}
.kfc_header{
      display:flex;
    padding: 5px;
    position:relative;
    justify-content: space-between;
    background:red;
    span:first-of-type{
        width: 50px;
        height: 50px;
        display: block;
        font-size: 25px;
        text-align: center;
        line-height: 50px;
    }
    span:nth-of-type(2){
        // flex:1;
        line-height: 50px;
        font-size: 20px;
        color: white;
    }
    span:last-of-type{
        width: 50px;
        height: 50px;
        display: block;
        background: url('../images/header_app.png') no-repeat;
        background-size: contain;
    }
}
.kfc_product{
    ul{
        width: 100%;
        li{
            a{
             width: 100%;
             display: flex;
             position: relative;
             div:first-of-type{
                 width: 200px;
                 height: 150px;
                 background: yellow;
             }
             div:nth-of-type(2){
                 flex: 1;
                //  background: blue;
                 margin-left: 5px;
                 position: relative;
                 span:last-of-type{
                     position: absolute;
                     display: block;
                     font-size: 30px;
                     right: 3px;
                     top:50%;
                     transform: translateY(-50%);
                 }
             }
             p{
                 position: absolute;
                 height: 20px;
                 line-height: 20px;
                 bottom: 0;
                 left: 205px;
             }
            }
        }
    }
}
